package com.seu.me.test.policy;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @author liangfeihu
 * @since 2019/10/17 15:49
 */
@Data
@ToString
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "ClaimDetailInfo")
public class ClaimDetailInfo {
    private String GrpRgtNo;
    private String RgtNo;
    private String OutBatchNO;
    private String OutRgtNo;
    private String GetDutyKind;
    private String InsuredNo;
    private String InsuredName;
    private String IDType;
    private String IDNo;
    private String AccDate;
    private String RiskCode;
    private String RiskName;
    private String DutyCode;
    private String DutyName;
    private String IcdCode;
    private String IcdDesc;
    private String GiveType;
    private String GiveTypeName;
    private String OutDutyAmnt;
    private String RealPay;
    @XmlElement(name = "BillDetailsInfoList")
    private BillData billData;

    @Data
    @ToString
    @NoArgsConstructor
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class BillData {
        @XmlElements(value = {@XmlElement(name = "BillDetailInfo", type = BillDetailInfo.class)})
        private List<BillDetailInfo> BillDetailsInfoList;
    }

}
